const otherRoutes = [
	// 首页-平台公告
	{
		path: 'index/announcement',
		name: 'announcement',
		component(resolve) {
			require.ensure(['../views/home/Announcement.vue'], () => {
				resolve(require('../views/home/Announcement.vue'));
			});
		},
		meta: {
			name: 'Announcement',
			isNewTab: true
		}
	},

	// 首页-签订车场协议
	{
		path: 'index/parkinglot_protocol',
		name: 'parkinglot_protocol',
		component(resolve) {
			require.ensure(['../views/parkinglot_protocol/index.vue'], () => {
				resolve(require('../views/parkinglot_protocol/index.vue'));
			});
		},
		meta: {
			name: 'parkinglot_protocol',
			isNewTab: true
		}
	},

	// 个性化设置
	{
		path: 'personalize',
		name: 'personalize',
		component(resolve) {
			require.ensure(['../views/personalize/Index.vue'], () => {
				resolve(require('../views/personalize/Index.vue'));
			});
		},
		meta: {
			name: 'personalize',
			isNewTab: true
		}
	},
	// 个性化设置2
	{
		path: 'authz/logo_config',
		name: 'skin_config',
		component(resolve) {
			require.ensure(['../views/platform_manage/logo_config.vue'], () => {
				resolve(require('../views/platform_manage/logo_config.vue'));
			});
		},
		meta: {
			name: 'skin_config',
			isNewTab: true
		}
	},
	//运营管理相关页面
	{
		path: 'addParkingLot',
		name: 'addParkingLot',
		component(resolve) {
			require.ensure(['../views/ParkingLot/AddParkingLot/index.vue'], () => {
				resolve(require('../views/ParkingLot/AddParkingLot/index.vue'));
			});
		},
		meta: {
			name: 'addParkingLot',
			isNewTab: true
		}
	},
	{
		path: 'allParkinglotInfo',
		name: 'allParkinglotInfo',
		component(resolve) {
			require.ensure(['../views/ParkingLot/AllParkingLot/MainPage/index.vue'], () => {
				resolve(require('../views/ParkingLot/AllParkingLot/MainPage/index.vue'));
			});
		},
		meta: {
			name: 'allParkinglotInfo',
			isNewTab: true
		}
	},

	{
		path: 'addTideChannel',
		name: 'addTideChannel',
		component(resolve) {
			require.ensure(['../views/ParkingLot/AllParkingLot/Channel/AddTideChannel/index.vue'], () => {
				resolve(require('../views/ParkingLot/AllParkingLot/Channel/AddTideChannel/index.vue'));
			});
		},
		meta: {
			name: 'addTideChannel',
			isNewTab: true
		}
	},

	{
		path: 'tideChannelList',
		name: 'tideChannelList',
		component(resolve) {
			require.ensure(['../views/ParkingLot/AllParkingLot/Channel/TideChannelList/index.vue'], () => {
				resolve(require('../views/ParkingLot/AllParkingLot/Channel/TideChannelList/index.vue'));
			});
		},
		meta: {
			name: 'tideChannelList',
			isNewTab: true
		}
	},

	{
		path: 'editParkinglotFeature',
		name: 'editParkinglotFeature',
		component(resolve) {
			require.ensure(
				['../views/ParkingLot/AllParkingLot/ParkinglotFeature/EditParkinglotFeature/index.vue'],
				() => {
					resolve(
						require('../views/ParkingLot/AllParkingLot/ParkinglotFeature/EditParkinglotFeature/index.vue')
					);
				}
			);
		},
		meta: {
			name: 'editParkinglotFeature',
			isNewTab: true
		}
	},

	{
		path: 'editParkinglotInfo',
		name: 'editParkinglotInfo',
		component(resolve) {
			require.ensure(['../views/ParkingLot/AllParkingLot/ParkingLotInfo/EditParkinglotInfo/index.vue'], () => {
				resolve(require('../views/ParkingLot/AllParkingLot/ParkingLotInfo/EditParkinglotInfo/index.vue'));
			});
		},
		meta: {
			name: 'editParkinglotInfo',
			isNewTab: true
		}
	},

	{
		path: 'editRule',
		name: 'editRule',
		component(resolve) {
			require.ensure(['../views/ParkingLot/AllParkingLot/Rule/EditRule/EditRule.vue'], () => {
				resolve(require('../views/ParkingLot/AllParkingLot/Rule/EditRule/EditRule.vue'));
			});
		},
		meta: {
			name: 'editRule',
			isNewTab: true
		}
	},

	{
		path: 'editPic',
		name: 'editPic',
		component(resolve) {
			require.ensure(['../views/ParkingLot/AllParkingLot/Rule/EditPic/EditPic.vue'], () => {
				resolve(require('../views/ParkingLot/AllParkingLot/Rule/EditPic/EditPic.vue'));
			});
		},
		meta: {
			name: 'editPic',
			isNewTab: true
		}
	},

	{
		path: 'editSpecialRule',
		name: 'editSpecialRule',
		component(resolve) {
			require.ensure(['../views/ParkingLot/AllParkingLot/Rule/EditSpecialRule/EditSpecialRule.vue'], () => {
				resolve(require('../views/ParkingLot/AllParkingLot/Rule/EditSpecialRule/EditSpecialRule.vue'));
			});
		},
		meta: {
			name: 'editSpecialRule',
			isNewTab: true
		}
	},

	//  增值服务相关页面
	// 增值服务-移动盘点-移动管理报表
	{
		path: 'mobile/report',
		name: 'mobileReport',
		component(resolve) {
			require.ensure(['../views/mobile/mobile_report.vue'], () => {
				resolve(require('../views/mobile/mobile_report.vue'));
			});
		},
		meta: {
			name: 'mobileReport'
		}
	},
	// 增值服务-支付配置-查看账号信息
	{
		path: 'valueAdded/getParkPayMerchantInfo',
		name: 'parkShowInfo',
		component(resolve) {
			require.ensure(['../views/valueAdded/getParkPayMerchantInfo/index.vue'], () => {
				resolve(require('../views/valueAdded/getParkPayMerchantInfo/index.vue'));
			});
		},
		meta: {
			name: 'getParkPayMerchantInfo',
			isNewTab: true
		}
	},
	// 增值服务-支付配置-新建账号
	{
		path: 'valueAdded/savePayMerchantInfo',
		name: 'savePayMerchantInfo',
		component(resolve) {
			require.ensure(['../views/valueAdded/savePayMerchantInfo/index.vue'], () => {
				resolve(require('../views/valueAdded/savePayMerchantInfo/index.vue'));
			});
		},
		meta: {
			name: 'savePayMerchantInfo',
			isNewTab: true
		}
	},
	// 增值服务-支付配置-选择账号
	{
		path: 'valueAdded/changeParkPayMerchantAccount',
		name: 'changeParkPayMerchantAccount',
		component(resolve) {
			require.ensure(['../views/valueAdded/changeMerchantAccount/index.vue'], () => {
				resolve(require('../views/valueAdded/changeMerchantAccount/index.vue'));
			});
		},
		meta: {
			name: 'changeParkPayMerchantAccount',
			isNewTab: true
		}
	},
	// 增值服务-开通服务-电子发票
	{
		path: 'other_service/static_page',
		name: 'staticPage',
		component(resolve) {
			require.ensure(['../views/other_service/staticPage.vue'], () => {
				resolve(require('../views/other_service/staticPage.vue'));
				// resolve(require('../views/other_service/open_eInvoice.vue'));
			});
		},
		meta: {
			name: 'staticPage',
			hideTabMenu: true
		}
	},
	// 增值服务-线上支付
	{
		path: 'other_service/onlinePayment',
		name: 'onlinePayment',
		component(resolve) {
			require.ensure(['../views/other_service/onlinePayment.vue'], () => {
				resolve(require('../views/other_service/onlinePayment.vue'));
			});
		},
		meta: {
			name: 'onlinePayment',
			hideTabMenu: true
		}
	},
	// 增值服务-支付配置-下载二维码
	{
		path: 'valueAdded/downloadQr',
		name: 'downloadQr',
		component(resolve) {
			require.ensure(['../views/valueAdded/downloadQr/index.vue'], () => {
				resolve(require('../views/valueAdded/downloadQr/index.vue'));
			});
		},
		meta: {
			name: 'downloadQr',
			isNewTab: true
		}
	},
	// 增值服务-支付配置-新增小微商户
	{
		path: 'valueAdded/applyLittleCustom',
		name: 'applyLittleCustom',
		component(resolve) {
			require.ensure(
				['../views/valueAdded/wechatApplymentnew/wechatLittleCustomApplymentnew/littleCustomMain.vue'],
				() => {
					resolve(
						require('../views/valueAdded/wechatApplymentnew/wechatLittleCustomApplymentnew/littleCustomMain.vue')
					);
				}
			);
		},
		meta: {
			name: 'applyLittleCustom',
			isNewTab: true
		}
	},

	// 统计分析-报表推送-推送报表
	{
		path: 'report/push_report',
		name: 'pushReport',
		component(resolve) {
			require.ensure(['../views/report/push_report.vue'], () => {
				resolve(require('../views/report/push_report.vue'));
			});
		},
		meta: {
			name: 'pushReport',
			isNewTab: true
		}
	},
	{
		//车场运营-车场管理-车场配置-告警配置(编辑)
		path: 'parkingLot/allParkingLot/emergency',
		name: 'emergencyEdit',
		component(resolve) {
			require.ensure(['../views/ParkingLot/AllParkingLot/Emergency/emergency_edit.vue'], () => {
				resolve(require('../views/ParkingLot/AllParkingLot/Emergency/emergency_edit.vue'));
			});
		},
		meta: {
			name: 'emergencyEdit',
			isNewTab: true
		}
	},
	{
		//车场运营-车场管理-车场配置-区域配置(编辑)
		path: 'parkingLot/allParkingLot/area',
		name: 'areaEdit',
		component(resolve) {
			require.ensure(['../views/ParkingLot/AllParkingLot/Area/area_edit.vue'], () => {
				resolve(require('../views/ParkingLot/AllParkingLot/Area/area_edit.vue'));
			});
		},
		meta: {
			name: 'areaEdit',
			isNewTab: true
		}
	},
	{
		//车场运营-车场管理-车场配置-配置说明
		path: 'parkingLot/allParkingLot/areaTips',
		name: 'areaTips',
		component(resolve) {
			require.ensure(['../views/ParkingLot/AllParkingLot/Area/area_demo.vue'], () => {
				resolve(require('../views/ParkingLot/AllParkingLot/Area/area_demo.vue'));
			});
		},
		meta: {
			name: 'areaTips',
			isNewTab: true
		}
	},
	{
		//车场运营-车场管理-车场配置-设备配置(编辑)
		path: 'parkingLot/allParkingLot/deviceSetting',
		name: 'environmentGunEdit',
		component(resolve) {
			require.ensure(
				['../views/ParkingLot/AllParkingLot/DeviceSetting/EnvironmentGun/EditEnvironmentGun/index.vue'],
				() => {
					resolve(
						require('../views/ParkingLot/AllParkingLot/DeviceSetting/EnvironmentGun/EditEnvironmentGun/index.vue')
					);
				}
			);
		},
		meta: {
			name: 'environmentGunEdit',
			isNewTab: true
		}
	}
];

export default otherRoutes;
